1. The Technical Definition
For a family of functions $\{f(\cdot, y) \mid y \in \mathcal{A}\}$, the pointwise supremum is defined as:
$$g(x) = \sup_{y \in \mathcal{A}} f(x, y)$$
The domain of this function is the set of points where all functions in the family are defined and the supremum is finite:
$$\text{dom } g = \{x \mid (x, y) \in \text{dom } f \text{ for all } y \in \mathcal{A}, \sup_{y \in \mathcal{A}} f(x, y) < \infty\}$$
The Epigraph Perspective
Geometrically, the epigraph of the supremum function is the intersection of the individual epigraphs:
$$\text{epi } g = \bigcap_{y \in \mathcal{A}} \text{epi } f(\cdot, y)$$
Since each individual epigraph is a convex set (due to the convexity of $f(x, y)$ in $x$), and the intersection of any number of convex sets is itself convex, the convexity of $g(x)$ is guaranteed.
2. Significant Examples
- Support Function: $S_C(y) = \sup \{ y^T x \mid x \in C \}$. This function is always convex, regardless of whether the set $C$ is convex or not, because it is the supremum of linear (affine) functions of $y$.
- Distance to Farthest Point: $f(x) = \sup_{y \in C} \|x - y\|$. Even for an irregularly shaped set $C$, $f(x)$ is convex in $x$ because the norm is a convex function of $x$.
- Maximum Eigenvalue: For a symmetric matrix $X$, $f(X) = \lambda_{\max}(X)$ is convex. This is derived from the Rayleigh quotient: $\lambda_{\max}(X) = \sup\{y^T X y \mid \|y\|_2 = 1\}$. It is the supremum of linear functions of $X$.